package com.web.exiaodao.business.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;
import com.web.webstart.base.entity.BaseEntity;

/**
 *
 * @ClassName: Comment
 * @Description: 评论定义表
 * @author eason
 * @date 2016-11-02 15:58:46
 *
 */
@Entity
@Table(name = "tb_xa_comment")
@ApiModel(value="评论定义表")
public class Comment extends BaseEntity{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value="评论内容(100字),评论内容")
	private String comment_Content;
	@ApiModelProperty(value="评论模块(1：普通商品  2:兑换商品  3：玩 /达人/作品/艺术品   51:住； 52:机构参观  53：旅游/游学     62:家政护理; 63:医疗服务|医疗康复; 64:护理培训|培训义工;)")
	private String objectId;
	@ApiModelProperty(value="评论人ID,评论人ID")
	private String orderDetailId;//orderDetailId
	@ApiModelProperty(value="订单号,订单号")
	private String userId;
	@ApiModelProperty(value="评论图片（预留字段）（多张，逗号分割）,评论图片（多张，逗号分割）")
	private String commentImgs;
	@ApiModelProperty(value="类型(1：普通商品  2:兑换商品  3：玩 /达人/作品/艺术品   51:住； 52:机构参观  53：旅游/游学     62:家政护理; 63:医疗服务|医疗康复; 64:护理培训|培训义工) ")
	private Integer commentTypes;
	@ApiModelProperty(value="卫生等级（5分）预留,卫生等级")
	private Double commentHealthClass;
	@ApiModelProperty(value="服务等级（5分）预留,服务等级")
	private Double commentServiceClass;
	@ApiModelProperty(value="环境等级（5分）预留,环境等级")
	private Double commentEnvironmentClass;
	@ApiModelProperty(value="设施等级（5分）预留,设施等级")
	private Double commentFacilityClass;
	/**
	 * 这里是固话其他表的信息
	 */
	@ApiModelProperty(value="评论名称,评论名称")
	private String commentName;
	@ApiModelProperty(value="评论url,评论url")
	private String commentUrl;

	public void setComment_Content(String comment_Content){
		this.comment_Content=comment_Content;
	}

	@Column(nullable=true,length=100)
	public String getComment_Content(){
		return comment_Content;
	}
	public void setObjectId(String objectId){
		this.objectId=objectId;
	}

	@Column(nullable=true,length=50)
	public String getObjectId(){
		return objectId;
	}
	public void setUserId(String userId){
		this.userId=userId;
	}

	@Column(nullable=true,length=50)
	public String getUserId(){
		return userId;
	}
	public void setCommentImgs(String commentImgs){
		this.commentImgs=commentImgs;
	}

	@Column(nullable=true,length=5000)
	public String getCommentImgs(){
		return commentImgs;
	}
	public void setCommentTypes(Integer commentTypes){
		this.commentTypes=commentTypes;
	}

	@Column(nullable=true,length=50)
	public Integer getCommentTypes(){
		return commentTypes;
	}
	public void setCommentHealthClass(Double commentHealthClass){
		this.commentHealthClass=commentHealthClass;
	}

	@Column(nullable=true,length=50)
	public Double getCommentHealthClass(){
		return commentHealthClass;
	}
	public void setCommentServiceClass(Double commentServiceClass){
		this.commentServiceClass=commentServiceClass;
	}

	@Column(nullable=true,length=50)
	public Double getCommentServiceClass(){
		return commentServiceClass;
	}
	public void setCommentEnvironmentClass(Double commentEnvironmentClass){
		this.commentEnvironmentClass=commentEnvironmentClass;
	}

	@Column(nullable=true,length=50)
	public Double getCommentEnvironmentClass(){
		return commentEnvironmentClass;
	}
	public void setCommentFacilityClass(Double commentFacilityClass){
		this.commentFacilityClass=commentFacilityClass;
	}

	@Column(nullable=true,length=50)
	public Double getCommentFacilityClass(){
		return commentFacilityClass;
	}

	@Column(nullable=true,length=50)
	public String getOrderDetailId() {
		return orderDetailId;
	}

	public void setOrderDetailId(String orderDetailId) {
		this.orderDetailId = orderDetailId;
	}

	public void setCommentName(String commentName){
		this.commentName=commentName;
	}

	@Column(nullable=true,length=255)
	public String getCommentName(){
		return commentName;
	}
	public void setCommentUrl(String commentUrl){
		this.commentUrl=commentUrl;
	}

	@Column(nullable=true,length=500)
	public String getCommentUrl(){
		return commentUrl;
	}
}
